/**
 * 
 */
package startsql;


/**
 * @author zerg
 *
 */
public class ConnectSet {
	String name  = null;
	Integer dataBase = 0;
	String ip   = null;
	String base = null;
	String user = null;
	String pass = null;


	ConnectSet(){
	}
	
	ConnectSet(String n, int d, String i, String b, String u, String p){
		name  = n;
		dataBase = d;
		ip   = i;
		base = b;
		user = u;
		pass = p;
	}	
	
	String[] getDataSet(){
		String[] getString = {name,dataBase.toString(),ip,base,user,pass};
		return getString;
	}
	

	void setDataSet(String n, int d, String i, String b, String u, String p){
		name  = n;
		dataBase = d;
		ip   = i;
		base = b;
		user = u;
		pass = p;
	}
	
}
